package ${baseInfo.packageName};

import ${tableClass.fullClassName};
<#if baseService??&&baseService!="">
import ${baseService};
    <#list baseService?split(".") as simpleName>
        <#if !simpleName_has_next>
            <#assign serviceSimpleName>${simpleName}</#assign>
        </#if>
    </#list>
</#if>
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import ${addDTO.packageName}.*;

/**
 *
 */
public interface ${baseInfo.fileName} extends IService<${tableClass.shortClassName}> {

    Long add(${tableClass.shortClassName}AddDTO addDTO);

    void update(${tableClass.shortClassName}UpdateDTO updateDTO);

    void deleteById(Long id);

    Page<${tableClass.shortClassName}VO> page(${tableClass.shortClassName}PageDTO conditions);

    List<${tableClass.shortClassName}VO> list(${tableClass.shortClassName}SearchDTO conditions);

}
